package org.wyn.service.impl;

import org.wyn.mongodb.dao.impl.UserStatusDao;
import org.wyn.service.IHomeService;

import com.google.inject.Inject;

public class HomeServiceImpl implements IHomeService{

	@Override
	public boolean publishStatus(String userName, String content) {
		return userStatusDao.publishStatus(userName,content);
	}
	@Inject
	private UserStatusDao userStatusDao;
	public UserStatusDao getUserStatusDao() {
		return userStatusDao;
	}
	public void setUserStatusDao(UserStatusDao userStatusDao) {
		this.userStatusDao = userStatusDao;
	}
}
